package com.example.spring.family.logic.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: knowledge-pooling
 * @ClassName DemoController
 * @description: 构建一个简单的HTTP 端点
 * @author: tomato
 * @create: 2023-07-21 08:57
 * @Version 1.0
 **/
@RestController
public class DemoController {

    @GetMapping("/hello")
    public String hello() {

        return "Hello World!";

    }
}
